// components/orderitem/index.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    info: { 
      type: Object,
      value: {}
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    isResponsing: false,
  },

  /**
   * 组件的方法列表
   */
  methods: {
    onClickDetailNextAction: function () {
      const that = this;
      if (this.data.isResponsing) {
          return;
      }
      this.data.isResponsing = true;
      this.triggerEvent("onClickAction", this.data.info);
      setTimeout(function () {
          that.data.isResponsing = false;
      }, 500);
    }
  }
})
